home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 534 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  974 b 

  1. Path: solon.com!not-for-mail
  2. From: kjm@sbphy.physics.ucsb.edu ( Kevin Miller)
  3. Newsgroups: comp.lang.c,comp.lang.c.moderated
  4. Subject: Re: Leading and Trailing Blanks
  5. Date: 6 Jan 1996 13:45:50 -0600
  6. Organization: University of California, Santa Barbara
  7. Sender: clc@solutions.solon.com
  8. Approved: clc@solutions.solon.com
  9. Message-ID: <4cmjhe$r4k@solutions.solon.com>
  10. References: <4chh1b$685@solutions.solon.com>
  11. NNTP-Posting-Host: solutions.solon.com
  12.  
  13.  
  14. mskc@io.com (Casey Claiborne) writes:
  15.  
  16. >    I am wondering if anyone out there has a program (or knows of one)
  17. >that allows one to strip leading and trailing blanks from a string. 
  18.  
  19. Was this assigned as a homework problem?  Or are you trying to learn C on 
  20. your own?  In the latter case, in order to learn something, you should 
  21. at least try to write some code yourself, and then show us what you have 
  22. written, and then we could give you hints as to what you have done wrong.  
  23.  
  24.  
  25.                       - Kevin Jay Miller 
  26.  ` 
  27.